#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stddef.h>
struct S
{
	char a;
	int b;
	char c;
};
int main()
{
	struct S s1 = { 0 };
	printf("%zd\n", offsetof(struct S, a));
	printf("%zd\n", offsetof(struct S, b));
	printf("%zd\n", offsetof(struct S, c));
	return 0;
}
